package com.example.demo.dto;

public class Params {

    private String code; //微信公众号登陆返回的code
    private String appId;   //微信公众号APP_ID
    private String secret;  //微信公众号SECRET
    private Integer userId; // 用户ID
    private String openId; // 用户openId
    private String nickname;
    private String headImgUrl;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    public String getSecret() {
        return secret;
    }

    public void setSecret(String secret) {
        this.secret = secret;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getOpenId() {
        return openId;
    }

    public void setOpenId(String openId) {
        this.openId = openId;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getHeadImgUrl() {
        return headImgUrl;
    }

    public void setHeadImgUrl(String headImgUrl) {
        this.headImgUrl = headImgUrl;
    }

    @Override
    public String toString() {
        return "Params{" +
                "code='" + code + '\'' +
                ", appId='" + appId + '\'' +
                ", secret='" + secret + '\'' +
                ", userId=" + userId +
                ", openId='" + openId + '\'' +
                ", nickname='" + nickname + '\'' +
                ", headImgUrl='" + headImgUrl + '\'' +
                '}';
    }
}
